package cn.com.common.utils;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

/**
 * @author jiaming
 */
public class SuspendUtils {

    protected static final Logger log = LogManager.getLogger();

    public static void suspendInMILLISECONDS(long time) {
        try {
            Thread.sleep(time);
        } catch (InterruptedException e) {
            log.error(e.getMessage(), e);
        }
    }

}
